home *** CD-ROM | disk | FTP | other *** search
/ Secrets of Stargate / STARGATE.iso / mac / STARGATE (5MB Macintosh) / STARGATE (5MB Macintosh).DXR / 00119.ls < prev    next >
Encoding:
Text File  |  1994-10-19  |  997 b   |  46 lines

  1. on idle
  2. end
  3.  
  4. on exitFrame
  5. end
  6.  
  7. on enterFrame
  8.   global gOnPC, gMovieStartMod, gSysVol
  9.   if the pauseState = 0 then
  10.     set the visible of sprite 35 to 1
  11.     set the puppet of sprite 35 to 1
  12.     stopCursor()
  13.     set the volume of sprite 35 to gSysVol
  14.     preRollMov(35)
  15.     set earlyExit to 0
  16.     set cont to 1
  17.     repeat while cont
  18.       set the movieRate of sprite 35 to 1
  19.       updateStage()
  20.       if the movieRate of sprite 35 > 0 then
  21.         exit repeat
  22.       end if
  23.     end repeat
  24.     repeat while the movieRate of sprite 35 > 0
  25.       if the mouseDown = 1 then
  26.         set the movieRate of sprite 35 to 0
  27.         set earlyExit to 1
  28.         exit repeat
  29.       end if
  30.       updateStage()
  31.     end repeat
  32.     set the movieRate of sprite 35 to 0
  33.     set the visible of sprite 35 to 0
  34.     set the puppet of sprite 35 to 0
  35.     if earlyExit then
  36.       spinCursor()
  37.       dissolveEffect()
  38.       go("Intro4")
  39.     else
  40.       spinCursor()
  41.       dissolveEffect()
  42.       go("Intro2")
  43.     end if
  44.   end if
  45. end
  46.